4D Pack v13.2AP Rect dragger |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Pack v13.2
AP Rect dragger
|
AP Rect dragger ( left ; top ; right ; bottom ; x ; y ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
left | Longint |
![]() |
Left coordinate of the visible rectangle | |||||
top | Longint |
![]() |
Top coordinate of the visible rectangle | |||||
right | Longint |
![]() |
Right coordinate of the visible rectangle | |||||
bottom | Longint |
![]() |
Bottom coordinate of the visible rectangle | |||||
x | Longint |
![]() |
Horizontal location of the mouse | |||||
y | Longint |
![]() |
Vertical location of the mouse | |||||
Function result | Integer |
![]() |
Process ID of the process in which the item was dragged | |||||
AP Rect dragger allows you to implement a “Drag and Drop” interface within 4D. It displays a graphical representation of an item being dragged from one place to another and returns the coordinates of the mouse release and the process ID of the process in which the item was dragged. This means that interprocess drag and drop operations can be performed, for example, by calling the destination process with CALL PROCESS.
This command must be called from an invisible button.
Product: 4D Pack
Theme: 4D_Pack : User Interface
Number:
61998
Created: 4D Pack 6
Modified: 4D v12